package com.ying.dogying.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ying.dogying.entity.ImComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ying.dogying.entity.dto.ImCommentDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李华明
 * @since 2020-06-05
 */
public interface ImCommentService extends IService<ImComment> {

    /**
     * 根据文章id查询评论(分页)
     */
    IPage<ImCommentDto> selectByParams(Page page, Long postId, Long userId, String order);

}
